
package com.jf.cloud.multishop.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.jf.cloud.common.product.vo.search.SpuSearchVO;
import com.jf.cloud.common.serializer.ImgJsonSerializer;
import com.jf.cloud.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.List;

/**
 * 用户店铺收藏记录VO
 *
 * @author zz
 * @date 2021-02-23 14:41:42
 */
public class ShopCollectionVO extends BaseVO{
    private static final long serialVersionUID = 1L;

    @Schema(description = "收藏自增id" )
    private Long collectionId;

    @Schema(description = "店铺id" )
    private Long shopId;


    @JsonSerialize(using = ImgJsonSerializer.class)
    @Schema(description = "店铺logo(可修改)" )
    private String shopLogo;

    @Schema(description = "店铺状态(-1:未开通 0: 停业中 1:营业中 2:平台下线 3:平台下线待审核)" )
    private Integer shopStatus;

    @Schema(description = "店铺名称" )
    private String shopName;

    @Schema(description = "店铺类型1自营店 2普通店" )
    private Integer type;

    @Schema(description = "店铺收藏数量" )
    private Long collectionNum;

    @Schema(description = "店铺商品列表" )
    private List<SpuSearchVO> spuSearchList;

    @Schema(description = "设为主页的h5装修id" )
    private Long renovationId;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getCollectionNum() {
        return collectionNum;
    }

    public void setCollectionNum(Long collectionNum) {
        this.collectionNum = collectionNum;
    }

    public List<SpuSearchVO> getSpuSearchList() {
        return spuSearchList;
    }

    public void setSpuSearchList(List<SpuSearchVO> spuSearchList) {
        this.spuSearchList = spuSearchList;
    }

    public String getShopLogo() {
        return shopLogo;
    }

    public void setShopLogo(String shopLogo) {
        this.shopLogo = shopLogo;
    }

    public Integer getShopStatus() {
        return shopStatus;
    }

    public void setShopStatus(Integer shopStatus) {
        this.shopStatus = shopStatus;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }



    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Long getRenovationId() {
        return renovationId;
    }

    public void setRenovationId(Long renovationId) {
        this.renovationId = renovationId;
    }

    @Override
    public String toString() {
        return "ShopCollectionVO{" +
                "collectionId=" + collectionId +
                ", shopId=" + shopId +
                ", shopLogo='" + shopLogo + '\'' +
                ", shopStatus=" + shopStatus +
                ", shopName='" + shopName + '\'' +
                ", type=" + type +
                ", collectionNum=" + collectionNum +
                ", spuSearchList=" + spuSearchList +
                ", renovationId=" + renovationId +
                '}';
    }
}
